#
# Be sure to run `pod lib lint XUtilities.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'XUtilities'
  s.version          = '0.0.1'
  s.summary          = '自定义工具类'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
加解密、日期
                       DESC

s.homepage         = 'https://gitee.com/anruhome/xutilities'
# s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license          = { :type => 'MIT', :file => 'LICENSE' }
s.author           = { 'anru' => '910736302@qq.com' }
s.source           = { :git => 'https://gitee.com/anruhome/xutilities.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

s.ios.deployment_target = '13.0'
s.swift_version = '5.0'
#s.source_files = 'Utilities/Classes/**/*'
s.subspec 'Crypto' do |sub|
  sub.source_files = 'XUtilities/Classes/Crypto/**/*'
end
s.subspec 'Extensions' do |sub|
  sub.source_files = 'XUtilities/Classes/Extensions/**/*'
end
s.subspec 'Utilities' do |sub|
  sub.source_files = 'XUtilities/Classes/Utilities/**/*'
end

# s.resource_bundles = {
#   'Utilities' => ['Utilities/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
#  s.public_header_files = 'Utilities/Classes/*.h'

# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'

# https://github.com/SwifterSwift/SwifterSwift
s.dependency 'SwifterSwift', '~> 5.0'
# https://github.com/krzyzanowskim/CryptoSwift.git
s.dependency 'CryptoSwift', '~> 1.8'
end
